import type { App } from 'vue'
import RegisterElement from './register-element'
import dialogDrag from '@/global/directives'
import RegisterProperties from './register-properties'

export function registerApp(app: App): void {
  app.use(RegisterElement) // 使用组件
  app.use(RegisterProperties) // 过滤器
  app.use(dialogDrag) // 自定义指令
}
